<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite + Vue3</title>
    <script type="text/javascript" src="/script/screenshot.js"></script>
    <script type="text/javascript" src="/script/dplayer.min.js"></script>
    <script type="text/javascript" src="/script/RecordRTC.min.js"></script>
    <script type="text/javascript" src="/script/hls.min.js"></script>
    <script type="text/javascript" src="/script/echarts.min.js"></script>
    <script type="text/javascript" src="/h265Web/h265webjs-v20221106.js"></script>
  </head>
  <body>
    <div id="app"></div>
    <!--    处理IE 兼容问题-->
    <script type="text/javascript">
      function isIE() {
        let isIE = false
        if (!!window.ActiveXObject || "ActiveXObject" in window) {
          isIE = true;
        }
        return  isIE
      }
      if (isIE()) {
        var script = document.createElement('script');
        script.type = 'text/javaScript';
        script.src = 'http://cdn.jsdelivr.net/bluebird/3.5.0/bluebird.min.js';
        document.getElementsByTagName('head')[0].appendChild(script);
      }
    </script>

    <!--    rem 适配自动计算像素 -->
    <script type="text/javascript">
      var designW =1920;
      var font_rate = 100;
      //适配
      document.getElementsByTagName("html")[0].style.fontSize = document.body.offsetWidth / designW * font_rate + "px";
      document.getElementsByTagName("body")[0].style.fontSize = document.body.offsetWidth / designW * font_rate + "px";
      //监测窗口大小变化
      window.addEventListener("onorientationchange" in window ? "orientationchange" : "resize", function() {

        document.getElementsByTagName("html")[0].style.fontSize = document.body.offsetWidth / designW * font_rate + "px";
        document.getElementsByTagName("body")[0].style.fontSize = document.body.offsetWidth / designW * font_rate + "px";

      }, false);
    </script>

<!--    <script type="text/javascript">-->
<!--      window._AMapSecurityConfig = {-->
<!--        securityJsCode: "68060bcd134cf1b75660a400cd7c776e"-->
<!--      };-->
<!--    </script>-->

<!--    <script type="text/javascript" src="https://webapi.amap.com/maps?v=2.0&key=0f6a97d191222a71069e381c3e64cd3f"></script>-->

    <script type="module" src="/src/main.js"></script>

  </body>
</html>
